package homework;

class Person{
	String name;
	String goods;
	int money;
	public Person(String name, String goods, int money) {
		this.name = name;
		this.goods = goods;
		this.money = money;
	}
	@Override
	public String toString() {
		return "Person [name=" + name + ", goods=" + goods + ", money=" + money + "]";
	}
}
